<%= form_for(@user) do |f| %>
  <% if @user.errors.any? %>
    <div id="error_explanation">
      <h2><%= pluralize(@user.errors.count, "error") %> prohibited this user from being saved:</h2>

      <ul>
      <% @user.errors.full_messages.each do |msg| %>
        <li><%= msg %></li>
      <% end %>
      </ul>
    </div>
  <% end %>

  <div class="field">
    <%= f.label "First Name *" %><br />
    <%= f.text_field :first_name %>
  </div>
  <div class="field">
    <%= f.label "Last Name *" %><br />
    <%= f.text_field :last_name %>
  </div>
  <div class="field">
    <%= f.label "E-mail Address *" %><br />
    <%= f.text_field :email %>
  </div>
  <div>
    <%= f.label "Password *" %><br />
    <%= f.password_field :password %>
  </div>
  <div>
    <%= f.label "Confirm Password *" %><br />
    <%= f.password_field :password_confirmation %>
  </div>
  <div class="field">
    <%= f.label "Phone Number *" %><br />
    <%= f.text_field :phone %>
  </div>
  <div class="field">
    <%= f.label "Address (line 1) *" %><br />
    <%= f.text_field :addr1 %>
  </div>
  <div class="field">
    <%= f.label "Address (line 2)" %><br />
    <%= f.text_field :addr2 %>
  </div>
  <div class="field">
    <%= f.label "City *" %><br />
    <%= f.text_field :city %>
  </div>
  <div class="field">
    <%= f.label "State *" %><br />
    <%= f.text_field :state %>
  </div>
  <div class="field">
    <%= f.label "Zip Code *" %><br />
    <%= f.text_field :zip %>
  </div>
  <div class="actions">
    <%= f.submit %>
  </div>
<% end %>
